package com.dingdang.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.math.BigDecimal;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 车辆信息表
 * </p>
 *
 * @author author
 * @since 2021-12-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_car_goods")
@ApiModel(value="TbCarGoods对象", description="车辆信息表")
public class TbCarGoods implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "车辆信息id")
    @TableId(value = "car_id", type = IdType.AUTO)
    private Long carId;

    @ApiModelProperty(value = "车辆品牌")
    private Long carInformationId;

    @ApiModelProperty(value = "车辆类型")
    private Long carTypeId;

    @ApiModelProperty(value = "车辆上牌时间")
    private String carLicensingtime;

    @ApiModelProperty(value = "行驶公里数")
    private Long kilometersTraveled;

    @ApiModelProperty(value = "是否售出")
    private String isDelete;

    @ApiModelProperty(value = "评估类型id")
    private String assessmentId;

    @ApiModelProperty(value = "车辆总价格")
    private BigDecimal carCount;

    @ApiModelProperty(value = "首付")
    private Long downPayments;

    @ApiModelProperty(value = "排序字段")
    private Long sort;

    @ApiModelProperty(value = "基本参数ID")
    private Long baseId;

    @ApiModelProperty(value = "车身结构ID")
    private Long carStructureId;

    @ApiModelProperty(value = "安全配置ID")
    private Long carSecurityId;

    @ApiModelProperty(value = "内部配置ID")
    private Long carInsideId;

    @ApiModelProperty(value = "外部配置ID")
    private Long carExternalId;

    @ApiModelProperty(value = "过户次数")
    private String transferNum;

    @ApiModelProperty(value = "车牌归属地")
    private String licensePlateOwnership;
//
    @ApiModelProperty(value = "车检到期时间")
    private LocalDate inspectVehicle;

    @ApiModelProperty(value = "车源号")
    private String carSource;

    @ApiModelProperty(value = "使用性质(运营或非运营)")
    private String natureOfUse;

    @ApiModelProperty(value = "排量(1.8T/2.0T)")
    private String carDisplacement;
//
    @ApiModelProperty(value = "交强险到期时间")
    private LocalDate compulsoryInsurance;
//
    @ApiModelProperty(value = "出厂日期")
    private LocalDate dateOfProduction;

    @ApiModelProperty(value = "车辆评估Id")
    private Long vehicleId;

    @ApiModelProperty(value = "卖家名称")
    private String sellerName;

    @ApiModelProperty(value = "车辆颜色和图片")
    private String carImgColor;

    private String tagOne;

    private String tagTwo;

    private String tagThree;


}
